﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;

namespace WFL.Threading
{
    public class BatchConfigurationElementCollection : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new BatchConfigurationElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((BatchConfigurationElement)element).Name;
        }
    }
}
